export const getBase64FromLocalAsync = (imgUrl) => {
	return new Promise((resolve, reject) => {
		uni.getFileSystemManager().readFile({
			filePath: imgUrl,
			encoding: 'base64',
			success: (res) => {
				resolve(res.data);
			},
			fail: (err) => {
				reject(err);
			},
		});
	});
};